package com.xhtt.modules.inspection.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhtt.modules.inspection.entity.InsTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 巡检任务 Mapper 接口
 * </p>
 *
 * @author xj
 * @since 2019-01-18
 */
public interface InsTaskMapper extends BaseMapper<InsTask> {

    InsTask queryById(@Param("taskId") Integer taskId);

    List<InsTask> queryByInspectType(@Param("inspectType") Integer inspectType);

    void updateDel(@Param("insTask")InsTask insTask);
}
